//
//  CYGLeftMenuCityButton.m
//  CYGHuntForCity
//
//  Created by cygarm on 16/2/23.
//  Copyright © 2016年 cygarm. All rights reserved.
//

#import "CYGLeftMenuCityButton.h"

@implementation CYGLeftMenuCityButton

- (void)setHighlighted:(BOOL)highlighted {

}

- (void)layoutSubviews {
	[super layoutSubviews];
	
	CGFloat imageX = self.bounds.size.width/2+30;
	self.imageView.frame = CGRectMake(imageX, self.imageView.frame.origin.y, self.imageView.bounds.size.width, self.imageView.bounds.size.height);
	
	CGFloat titleX = self.bounds.size.width/2-30;
	self.titleLabel.frame = CGRectMake(titleX, self.titleLabel.frame.origin.y, self.titleLabel.bounds.size.width, self.titleLabel.bounds.size.height);
}

@end
